<?php
/**
 * Elgg entity listing
 *
 * @package Elgg
 * @subpackage Core
 */
global $CONFIG;

if(get_context()=="allproducts"){
?>

<div class="search_listing">

	<div class="search_listing_icon_inback">
		<?php

			print_r( $vars['icon']);

		?>
	</div>
	<div class="search_listing_info">
		<?php

			$test = $vars['info'];
			echo $vars['info'];
			
		?>
	</div>

</div>



<?php 
}
else{
?>

<div class="search_listing">

	<div class="search_listing_icon">
		<?php

			echo $vars['icon'];

		?>
	</div>
	<div class="search_listing_info">
		<?php

			echo $vars['info'];

		?>
	</div>

</div>

<?php 
}
?>